package com.yuyou.activity.ts.service.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

public class ReqLoginActivityTs {

    @NotBlank(message="项目编号不能为空")
    @ApiModelProperty(value = "项目编号", required = true)
	private String projectCode;
	
    @NotBlank(message="手机号码 不能为空")
    @Length(max = 20 , message = "手机号码不能超过20个字")
    @ApiModelProperty(value = "手机号码", required = true)
	private String phone;
		
    @NotBlank(message="验证码不能为空")
    @ApiModelProperty(value = "验证码", required = true)
	private String code;
	
    @NotBlank(message="名字不能为空")
    @Length(max = 10 , message = "名字不能超过10个字")
    @ApiModelProperty(value = "名字", required = true)
	private String name;
	
    @ApiModelProperty(value = "意向校区ID", required = false)
	private Long schoolId;

    @Length(max = 100 , message = "意向校区名字不能超过100个字")
    @ApiModelProperty(value = "意向校区名字", required = false)
	private String schoolName;


	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}
}
